<template>
    <div>
      <div>
        <div class="list">
          <el-table
            :show-header="false"
            :data="tableData"
            style="width: 100%">
            <el-table-column
              prop="date"
              label="邮件类型"
              width="180">
            </el-table-column>
            <el-table-column
              prop="name"
              label="消息"
              width="180">
            </el-table-column>
            <el-table-column
              prop="address"
              label="时间">
            </el-table-column>
          </el-table>

        </div>
      </div>
    </div>
</template>

<script>
    import {receivedNews} form '@/api/message'
    export default {
        name: "messageList",
        data() {
            return {
                tableData:[
                    {
                        date: '新邮件',
                        name: 'sales1@gmail.com有1封新邮件',
                        time: '2019-06-26 15:30:00'
                    }
                ]
            }
        },
        created() {
            this.init()
        },
        methods: {
            init() {
                receivedNews() {

                }
            }
        }
    }
</script>

<style scoped>

</style>
